﻿Type.registerNamespace("Microsoft.Live.ClientControls.VE.Extenders")
Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation=function(element){
Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation.initializeBase(this,[element])
this._orientation
this._mapControlID}
Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation.prototype={
initialize : function(){
Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation.callBaseMethod(this,'initialize')
$addHandler(this.get_element(),"click",Function.createDelegate(this,this._onClick))
},
get_Orientation : function(){
return this._orientation
},
set_Orientation : function(value){
this._orientation=value
},
get_MapControlID : function(){
return this._mapControlID
},
set_MapControlID : function(value){
this._mapControlID=value
},
_onClick : function(e){
var mapcontrol=$find(this._mapControlID)
if(mapcontrol){
mapcontrol.SetBirdseyeOrientation(this._orientation)}
e.preventDefault()
},
dispose : function(){
$clearHandlers(this.get_element())
Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation.callBaseMethod(this,'dispose')}}
Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation.registerClass("Microsoft.Live.ClientControls.VE.Extenders.BirdseyeOrientation",Sys.UI.Behavior)
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded()
